X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fcrypto%2Fserv_crypto.c;fp=citadel%2Fmodules%2Fcrypto%2Fserv_crypto.c;h=cb12d318570517ed3f37221f207795dc77ac0dae;hp=a9761a549e6adf267786151fcb617581686284fb;hb=0475c981817d12900332693297a77a9ae7168129;hpb=30a4090b04dff1084df3789efe78afd1e2bf6d90 diff --git a/citadel/modules/crypto/serv_crypto.c b/citadel/modules/crypto/serv_crypto.c index a9761a549..cb12d3185 100644 --- a/citadel/modules/crypto/serv_crypto.c +++ b/citadel/modules/crypto/serv_crypto.c @@ -1,19 +1,13 @@ /* - * Copyright (c) 1987-2012 by the citadel.org team + * Copyright (c) 1987-2015 by the citadel.org team * - * This program is open source software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 3. - * - * + * This program is open source software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 3. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * - * - * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. */ #include @@ -260,7 +254,7 @@ void init_ssl(void) X509_NAME_add_entry_by_txt(name, "O", MBSTRING_ASC, - (unsigned char*) config.c_humannode, + (unsigned char*) CtdlGetConfigStr("c_humannode"), -1, -1, 0); X509_NAME_add_entry_by_txt(name, "OU", @@ -269,7 +263,7 @@ void init_ssl(void) -1, -1, 0); /* X509_NAME_add_entry_by_txt(name, "CN", - MBSTRING_ASC, config.c_fqdn, -1, -1, 0); + MBSTRING_ASC, CtdlGetConfigStr("c_fqdn"), -1, -1, 0); */ X509_NAME_add_entry_by_txt(name,