diff options
author | Not Zed <NotZed@Ximian.com> | 2002-10-17 11:56:13 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-10-17 11:56:13 +0800 |
commit | d4e1fb42e0e1017919ca21b5b59cc84b38f794f7 (patch) | |
tree | 3ecfea7474d3823841cfb6d2e732f4d3229530d1 /data | |
parent | 5f38b1e898698b939d76419cd1fa970effb38ecd (diff) | |
download | gsoc2013-evolution-d4e1fb42e0e1017919ca21b5b59cc84b38f794f7.tar gsoc2013-evolution-d4e1fb42e0e1017919ca21b5b59cc84b38f794f7.tar.gz gsoc2013-evolution-d4e1fb42e0e1017919ca21b5b59cc84b38f794f7.tar.bz2 gsoc2013-evolution-d4e1fb42e0e1017919ca21b5b59cc84b38f794f7.tar.lz gsoc2013-evolution-d4e1fb42e0e1017919ca21b5b59cc84b38f794f7.tar.xz gsoc2013-evolution-d4e1fb42e0e1017919ca21b5b59cc84b38f794f7.tar.zst gsoc2013-evolution-d4e1fb42e0e1017919ca21b5b59cc84b38f794f7.zip |
helper, build fingerprint. (camel_certdb_nss_cert_get): Helper for nss
2002-10-15 Not Zed <NotZed@Ximian.com>
* camel-tcp-stream-ssl.c (cert_fingerprint): helper, build
fingerprint.
(camel_certdb_nss_cert_get): Helper for nss certs. Lookup cert.
As well as fingerprint, the whole raw cert is checked for
validity.
(camel_certdb_nss_cert_add): Add an nss cert to a certdb, also
saves the cert by fingerprint in ~/.camel_certs/.
(ssl_bad_cert): Changed to use above functions to simplify logic.
(ssl_bad_cert): Also added non-compiled code which mimics what
mozilla does, but it doesn't work right :-/
(camel_certdb_nss_cert_set): Save the raw cert associated with a
cert.
* camel-certdb.c (certdb_cert_free): Free the raw cert data if
set.
2002-10-14 Not Zed <NotZed@Ximian.com>
* camel-file-utils.c (camel_file_util_encode_string): Encode a
length of 0 as 1, not 0, to match the decode code.
svn path=/trunk/; revision=18385
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions