Displaying 3 results from an estimated 3 matches for "ssl_ctx_use_certificate_chain_file".
2003 Oct 28
4
Failed to compile Samba with SSL
...iling smbd/notify_hash.c
Compiling smbd/notify_kernel.c
Linking bin/smbd
smbd/ssl.o: In function `sslutil_init':
smbd/ssl.o(.text+0x2a5): undefined reference to `SSL_library_init'
smbd/ssl.o(.text+0x2bb): undefined reference to `RAND_egd'
smbd/ssl.o(.text+0x42b): undefined reference to `SSL_CTX_use_certificate_chain_file'
smbd/ssl.o(.text+0x5f4): undefined reference to `SSL_CTX_set_tmp_rsa_callback'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1
2013 Jul 06
1
[PATCH] login-common: Add support for ECDH/ECDHE cipher suites
...et1_EC_KEY(pkey)) != NULL &&
+ (ecgrp = EC_KEY_get0_group(eckey)) != NULL)
+ nid = EC_GROUP_get_curve_name(ecgrp);
+ EVP_PKEY_free(pkey);
+#endif
+ return nid;
+}
+
+static int
ssl_proxy_ctx_use_certificate_chain(SSL_CTX *ctx, const char *cert)
{
/* mostly just copy&pasted from SSL_CTX_use_certificate_chain_file() */
@@ -1209,7 +1282,6 @@
#endif
ssl_proxy_ctx_use_key(ctx->ctx, ssl_set);
- SSL_CTX_set_info_callback(ctx->ctx, ssl_info_callback);
if (ctx->verify_client_cert)
ssl_proxy_ctx_verify_client(ctx->ctx, xnames);
-------------- next part --------------
A non-text attachment was...
2003 Dec 01
0
No subject
..._V3: sslContext = SSL_CTX_new(SSLv3_method()); break;
@@ -120,7 +128,7 @@
if(keyfile == NULL || *keyfile == 0)
keyfile = certfile;
if(certfile != NULL && *certfile != 0){
- if(!SSL_CTX_use_certificate_file(sslContext, certfile, SSL_FILETYPE_PEM)){
+ if(!SSL_CTX_use_certificate_chain_file(sslContext, certfile)){
err = ERR_get_error();
fprintf(stderr, "SSL: error reading certificate from file %s: %s\n",
certfile, ERR_error_string(err, NULL));
@@ -146,9 +154,11 @@
cacertFile = NULL;
if(!SSL_CTX_load_verify_location...