Return to ts.c CVS log | Up to [local] / src / usr.bin / openssl |
version 1.21, 2022/03/24 13:47:55 | version 1.22, 2022/03/24 14:07:08 | ||
---|---|---|---|
|
|
||
int i; | int i; | ||
/* Creating the X509_STORE object. */ | /* Creating the X509_STORE object. */ | ||
cert_ctx = X509_STORE_new(); | if ((cert_ctx = X509_STORE_new()) == NULL) | ||
goto err; | |||
/* Setting the callback for certificate chain verification. */ | /* Setting the callback for certificate chain verification. */ | ||
X509_STORE_set_verify_cb(cert_ctx, verify_cb); | X509_STORE_set_verify_cb(cert_ctx, verify_cb); |