diff options
author | gshapiro <gshapiro@FreeBSD.org> | 2003-02-08 20:31:29 +0000 |
---|---|---|
committer | gshapiro <gshapiro@FreeBSD.org> | 2003-02-08 20:31:29 +0000 |
commit | 842b56b9cabf175e7842ec5a3b29ff68353b3177 (patch) | |
tree | 2e81c43d391ed220f6656502de14ddfbb0de4ecd /contrib/sendmail/src/tls.c | |
parent | 39e311b2e17a53f7ed02fcbe3820ca77b65486d5 (diff) | |
download | FreeBSD-src-842b56b9cabf175e7842ec5a3b29ff68353b3177.zip FreeBSD-src-842b56b9cabf175e7842ec5a3b29ff68353b3177.tar.gz |
Import sendmail 8.12.7
Diffstat (limited to 'contrib/sendmail/src/tls.c')
-rw-r--r-- | contrib/sendmail/src/tls.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/contrib/sendmail/src/tls.c b/contrib/sendmail/src/tls.c index e2b1b14..8a7fa9f 100644 --- a/contrib/sendmail/src/tls.c +++ b/contrib/sendmail/src/tls.c @@ -10,7 +10,7 @@ #include <sendmail.h> -SM_RCSID("@(#)$Id: tls.c,v 8.79 2002/03/21 22:24:13 gshapiro Exp $") +SM_RCSID("@(#)$Id: tls.c,v 8.79.4.1 2002/09/03 17:31:45 gshapiro Exp $") #if STARTTLS # include <openssl/err.h> @@ -326,21 +326,21 @@ tls_set_verify(ctx, ssl, vrfy) ** [due to permissions] */ -# define TLS_S_NONE 0x00000000 /* none yet */ -# define TLS_S_CERT_EX 0x00000001 /* CERT file exists */ -# define TLS_S_CERT_OK 0x00000002 /* CERT file is ok */ -# define TLS_S_KEY_EX 0x00000004 /* KEY file exists */ -# define TLS_S_KEY_OK 0x00000008 /* KEY file is ok */ -# define TLS_S_CERTP_EX 0x00000010 /* CA CERT PATH exists */ -# define TLS_S_CERTP_OK 0x00000020 /* CA CERT PATH is ok */ -# define TLS_S_CERTF_EX 0x00000040 /* CA CERT FILE exists */ -# define TLS_S_CERTF_OK 0x00000080 /* CA CERT FILE is ok */ +# define TLS_S_NONE 0x00000000 /* none yet */ +# define TLS_S_CERT_EX 0x00000001 /* cert file exists */ +# define TLS_S_CERT_OK 0x00000002 /* cert file is ok */ +# define TLS_S_KEY_EX 0x00000004 /* key file exists */ +# define TLS_S_KEY_OK 0x00000008 /* key file is ok */ +# define TLS_S_CERTP_EX 0x00000010 /* CA cert path exists */ +# define TLS_S_CERTP_OK 0x00000020 /* CA cert path is ok */ +# define TLS_S_CERTF_EX 0x00000040 /* CA cert file exists */ +# define TLS_S_CERTF_OK 0x00000080 /* CA cert file is ok */ # if _FFR_TLS_1 -# define TLS_S_CERT2_EX 0x00001000 /* 2nd CERT file exists */ -# define TLS_S_CERT2_OK 0x00002000 /* 2nd CERT file is ok */ -# define TLS_S_KEY2_EX 0x00004000 /* 2nd KEY file exists */ -# define TLS_S_KEY2_OK 0x00008000 /* 2nd KEY file is ok */ +# define TLS_S_CERT2_EX 0x00001000 /* 2nd cert file exists */ +# define TLS_S_CERT2_OK 0x00002000 /* 2nd cert file is ok */ +# define TLS_S_KEY2_EX 0x00004000 /* 2nd key file exists */ +# define TLS_S_KEY2_OK 0x00008000 /* 2nd key file is ok */ # endif /* _FFR_TLS_1 */ # define TLS_S_DH_OK 0x00200000 /* DH cert is ok */ @@ -545,9 +545,9 @@ inittls(ctx, req, srv, certfile, keyfile, cacertpath, cacertfile, dhparam) TLS_S_CERT_EX, srv); TLS_OK_F(keyfile, "KeyFile", bitset(TLS_I_KEY_EX, req), TLS_S_KEY_EX, srv); - TLS_OK_F(cacertpath, "CACERTPath", bitset(TLS_I_CERTP_EX, req), + TLS_OK_F(cacertpath, "CACertPath", bitset(TLS_I_CERTP_EX, req), TLS_S_CERTP_EX, srv); - TLS_OK_F(cacertfile, "CACERTFile", bitset(TLS_I_CERTF_EX, req), + TLS_OK_F(cacertfile, "CACertFile", bitset(TLS_I_CERTF_EX, req), TLS_S_CERTF_EX, srv); # if _FFR_TLS_1 |