Source Code/My Patch

[CMPOSSL] CRMF_CERTTEMPLATE ๋ฉ”์„ธ์ง€์—์„œ ๊ณต๊ฐœํ‚ค ๊ฐ’ ์–ป๊ธฐ

JayKim๐Ÿ™‚ 2019. 12. 9. 09:33

crmf.h ์— ์•„๋ž˜ ํ•จ์ˆ˜ ์ •์˜ ์ถ”๊ฐ€

X509_PUBKEY *OSSL_CRMF_CERTTEMPLATE_get0_publicKey( OSSL_CRMF_CERTTEMPLATE *tmpl);

 

crmf_lib.c ํŒŒ์ผ์— ์•„๋ž˜ ๋‚ด์šฉ ์ถ”๊ฐ€

X509_PUBKEY *OSSL_CRMF_CERTTEMPLATE_get0_publicKey( OSSL_CRMF_CERTTEMPLATE *tmpl)
{
	return tmpl != NULL ? tmpl->publicKey : NULL;
}

 

์œˆ๋„์šฐ ์ง€์›์„ ์œ„ํ•ด์„œ๋Š”

utils/libcrypto.num ์— ํ•จ์ˆ˜๋ช…์„ ์ถ”๊ฐ€ ํ•ด ์ฃผ์–ด์•ผ ํ•œ๋‹ค.