adding missing BIO_free (issue #138)

This commit is contained in:
csoler 2015-10-20 18:16:18 -04:00
parent febea809b1
commit b2dbf9d30a

View file

@ -599,6 +599,7 @@ int ops_rsa_public_encrypt(unsigned char *out,const unsigned char *in,
BIO *fd_out;
fd_out=BIO_new_fd(fileno(stderr), BIO_NOCLOSE);
ERR_print_errors(fd_out);
BIO_free(fd_out) ;
}
orsa->n=orsa->e=NULL;