Searched refs:outmsgbio (Results 1 - 2 of 2) sorted by relevance

/netbsd-current/crypto/external/bsd/openssl.old/dist/test/
H A Dcmsapitest.c19 BIO *outmsgbio = BIO_new(BIO_s_mem()); local
23 if (!TEST_ptr(certstack) || !TEST_ptr(msgbio) || !TEST_ptr(outmsgbio))
33 if (!TEST_true(CMS_decrypt(content, privkey, cert, NULL, outmsgbio,
38 if (!TEST_int_eq(BIO_gets(outmsgbio, buf, sizeof(buf)), strlen(msg))
46 BIO_free(outmsgbio);
/netbsd-current/crypto/external/bsd/openssl/dist/test/
H A Dcmsapitest.c29 BIO *outmsgbio = BIO_new(BIO_s_mem()); local
33 if (!TEST_ptr(certstack) || !TEST_ptr(msgbio) || !TEST_ptr(outmsgbio))
43 if (!TEST_true(CMS_decrypt(content, privkey, cert, NULL, outmsgbio,
48 if (!TEST_int_eq(BIO_gets(outmsgbio, buf, sizeof(buf)), strlen(msg))
56 BIO_free(outmsgbio);

Completed in 115 milliseconds