Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 61853 Details for
Bug 96956
net-misc/stunnel-4.10: add purpose and keytype patch, enable DSA key support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Non-RSA key support for stunnel-4.10
stunnel-4.10.keytype.patch (text/plain), 1.12 KB, created by
Sascha Silbe
on 2005-06-24 10:13:27 UTC
(
hide
)
Description:
Non-RSA key support for stunnel-4.10
Filename:
MIME Type:
Creator:
Sascha Silbe
Created:
2005-06-24 10:13:27 UTC
Size:
1.12 KB
patch
obsolete
># arch-tag: e7161f3c-cb51-4d1c-9ab2-1bdfb630ae81 >diff -Nur stunnel-4.10/src/ssl.c stunnel-4.10.keytype/src/ssl.c >--- stunnel-4.10/src/ssl.c 2005-02-15 20:07:35.000000000 +0100 >+++ stunnel-4.10.keytype/src/ssl.c 2005-06-24 18:39:52.094203704 +0200 >@@ -305,24 +305,15 @@ > SSL_CTX_set_default_passwd_cb(ctx, pem_passwd_cb); > #endif > for(i=0; i<3; i++) { >-#ifdef NO_RSA > if(SSL_CTX_use_PrivateKey_file(ctx, options.key, > SSL_FILETYPE_PEM)) >-#else /* NO_RSA */ >- if(SSL_CTX_use_RSAPrivateKey_file(ctx, options.key, >- SSL_FILETYPE_PEM)) >-#endif /* NO_RSA */ > break; > if(i<2 && ERR_GET_REASON(ERR_peek_error())==EVP_R_BAD_DECRYPT) { > sslerror_stack(); /* dump the error stack */ > s_log(LOG_ERR, "Wrong pass phrase: retrying"); > continue; > } >-#ifdef NO_RSA > sslerror("SSL_CTX_use_PrivateKey_file"); >-#else /* NO_RSA */ >- sslerror("SSL_CTX_use_RSAPrivateKey_file"); >-#endif /* NO_RSA */ > exit(1); > } > if(!SSL_CTX_check_private_key(ctx)) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 96956
:
61851
|
61852
| 61853