From: Andreas Steffen Date: Sun, 25 Feb 2007 08:15:38 +0000 (-0000) Subject: correct interface definition X-Git-Tag: 4.0.7~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=508d22b2f99680d5947e54cf7e7fb22b31a6b0d4;p=thirdparty%2Fstrongswan.git correct interface definition --- diff --git a/src/libstrongswan/crypto/ca.c b/src/libstrongswan/crypto/ca.c index c3f707fb0b..5e1f075155 100644 --- a/src/libstrongswan/crypto/ca.c +++ b/src/libstrongswan/crypto/ca.c @@ -323,7 +323,7 @@ ca_info_t *ca_info_create(const char *name, const x509_t *cacert) /* public functions */ this->public.equals = (bool (*) (const ca_info_t*,const ca_info_t*))equals; this->public.equals_name = (bool (*) (const ca_info_t*,const char*))equals_name; - this->public.add_info = (void (*) (ca_info_t*,ca_info_t*))add_info; + this->public.add_info = (void (*) (ca_info_t*,const ca_info_t*))add_info; this->public.add_crluri = (void (*) (ca_info_t*,chunk_t))add_crluri; this->public.add_ocspuri = (void (*) (ca_info_t*,chunk_t))add_ocspuri; this->public.release_info = (void (*) (ca_info_t*))release_info;