]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-ssl-iostream: Compiler warning fix
authorTimo Sirainen <tss@iki.fi>
Wed, 10 Jul 2013 21:28:54 +0000 (00:28 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 10 Jul 2013 21:28:54 +0000 (00:28 +0300)
src/lib-ssl-iostream/iostream-openssl-context.c

index 12e44ebdf292891c3117fef7ebc7fe7a46d0ef02..7bb83a88e3a4babc7a50148cd8e4c036dac2a3a3 100644 (file)
@@ -413,11 +413,9 @@ ssl_proxy_ctx_get_pkey_ec_curve_name(const struct ssl_iostream_settings *set,
 {
        int nid = 0;
        EVP_PKEY *pkey;
-       const char *password;
        EC_KEY *eckey;
        const EC_GROUP *ecgrp;
 
-       password = set->key_password[0] != '\0' ? set->key_password : NULL;
        if (openssl_iostream_load_key(set, &pkey, error_r) < 0)
                return -1;