cmp.h ์ ํจ์ ์ ์ ์ถ๊ฐ
const char* OSSL_CMP_CTX_getServerPath(OSSL_CMP_CTX *ctx);
const char* OSSL_CMP_CTX_getServer(OSSL_CMP_CTX *ctx);
int OSSL_CMP_CTX_getServerPort(OSSL_CMP_CTX *ctx);
cmp_ctx.c ์ ์ฝ๋ ์ถ๊ฐ
const char* OSSL_CMP_CTX_getServerPath(OSSL_CMP_CTX *ctx)
{
if( ctx == NULL ) return NULL;
return ctx->serverPath;
}
int OSSL_CMP_CTX_getServerPort(OSSL_CMP_CTX *ctx)
{
if( ctx == NULL ) return -1;
return ctx->serverPort;
}
const char* OSSL_CMP_CTX_getServer(OSSL_CMP_CTX *ctx)
{
if( ctx == NULL ) return NULL;
return ctx->server;
}
์ฐธ๊ณ )OpenSSL3 ์์๋ serverName -> server ๋ก ๋ชจ๋ ๋ณ๊ฒฝ ๋จ.
'Source Code > My Patch' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Openssl3] OSSL_CMP_certConf_new ์ถ๊ฐ (0) | 2022.03.02 |
---|---|
[OpenSSL] OSSL_CMP_CERTSTATUS ์ ๋ณด ์ป๊ธฐ ํจ์ (0) | 2019.12.17 |
[CMPOSSL] OSSL_CMP_REVDETAILS ์ฌ์ฉ ์ง์ ํ๊ธฐ (0) | 2019.12.10 |
[CMPOSSL] CRMF_CERTTEMPLATE ๋ฉ์ธ์ง์์ ๊ณต๊ฐํค ๊ฐ ์ป๊ธฐ (0) | 2019.12.09 |
[CMPOSSL] CMP ์์ SenderKID ๊ฐ ์ป๊ธฐ ํจ์ (0) | 2019.12.09 |