Source Code/My Patch

[CMPOSSL] CMP ์—์„œ SenderKID ๊ฐ’ ์–ป๊ธฐ ํ•จ์ˆ˜

JayKim๐Ÿ™‚ 2019. 12. 9. 08:26

cmp.h.in ํ—ค๋”์— ์•„๋ž˜ ํ•จ์ˆ˜ ์ •์˜ ์ถ”๊ฐ€

ASN1_OCTET_STRING* OSSL_CMP_HDR_get0_senderKID( const OSSL_CMP_PKIHEADER *hdr );

 

cmp_lib.c ์— ์•„๋ž˜ ์†Œ์Šค ์ถ”๊ฐ€

ASN1_OCTET_STRING* OSSL_CMP_HDR_get0_senderKID( const OSSL_CMP_PKIHEADER *hdr )
{
	if( hdr == NULL ) return NULL;

	return hdr->senderKID;
}

 

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

utils/libcrypto.num ์— ๋‹ค์Œ ๊ฐ’์„ ์ฃผ์–ด์•ผ ํ•œ๋‹ค.

 

OSSL_CMP_HDR_get0_senderKID                  5573    3_0_0   EXIST::FUNCTION:CMP