[openssl.org #2451] [PATCH] Enhancement: Telnet START_TLS in s_client

2011-02-17 Thread David Michael via RT
Hi, I sent this patch to the developer list a while ago after I made it for a proof-of-concept in our network. It turns out we will need to support telnet's START_TLS connection method[1] in our mainframe environment, and it would make things easier for our testing/debugging if this was

[PATCH] Fix parallel build for shared library

2011-02-17 Thread Qing He
When I tried to parallel make while enabling shared in Configure, the following error is encountered. | make: *** No rule to make target `libcrypto.a', needed by `libcrypto.so.0.9.8'. Stop. The attached patch adds the dependency rules for libcrypto.a and libssl.a, fixing the above error

memory cleansing

2011-02-17 Thread Jonathan Landis
The below snippet is from crypto/pem/pem_pkey.c EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u) { ...snip } else if (strcmp(nm,PEM_STRING_PKCS8) == 0) { PKCS8_PRIV_KEY_INFO *p8inf; X509_SIG *p8; int klen; char psbuf[PEM_BUFSIZE]; p8 = d2i_X509_SIG(NULL, p,