Merge branch 'bug26116_033' into maint-0.3.3

This commit is contained in:
Nick Mathewson 2018-05-24 09:40:00 -04:00
commit c000763f1e
2 changed files with 8 additions and 1 deletions

7
changes/bug26116 Normal file
View File

@ -0,0 +1,7 @@
o Minor bugfixes (compatibility, openssl):
- Work around a change in OpenSSL 1.1.1 where
return values that would previously indicate "no password" now
indicate an empty password. Without this workaround, Tor instances
running with OpenSSL 1.1.1 would accept descriptors that other Tor
instances would reject. Fixes bug 26116; bugfix on 0.2.5.16.

View File

@ -237,7 +237,7 @@ pem_no_password_cb(char *buf, int size, int rwflag, void *u)
(void)size;
(void)rwflag;
(void)u;
return 0;
return -1;
}
/** Read a PEM-encoded private key from the <b>len</b>-byte string <b>s</b>