2006-06-08 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Thu, 8 Jun 2006 00:43:48 +0000 (00:43 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Thu, 8 Jun 2006 00:43:48 +0000 (00:43 +0000)
* cert.c (ksba_cert_get_crl_dist_point): Fix type of R_REASON.
(parse_distribution_point): Fix type of REASON.

src/ChangeLog
src/cert.c

index 04ba905..4f980ba 100644 (file)
@@ -1,3 +1,8 @@
+2006-06-08  Marcus Brinkmann  <marcus@g10code.de>
+
+       * cert.c (ksba_cert_get_crl_dist_point): Fix type of R_REASON.
+       (parse_distribution_point): Fix type of REASON.
+
 2006-05-11  Werner Koch  <wk@g10code.com>
 
        * ber-decoder.c (decoder_next): Print error description returned
index 5d67585..01cc33d 100644 (file)
@@ -1464,7 +1464,7 @@ ksba_cert_get_ext_key_usages (ksba_cert_t cert, char **result)
 static gpg_error_t
 parse_distribution_point (const unsigned char *der, size_t derlen, 
                           ksba_name_t *distpoint, ksba_name_t *issuer,
-                          unsigned int *reason)
+                          ksba_crl_reason_t *reason)
 {
   gpg_error_t err;
   struct tag_info ti;
@@ -1623,7 +1623,7 @@ gpg_error_t
 ksba_cert_get_crl_dist_point (ksba_cert_t cert, int idx,
                               ksba_name_t *r_distpoint,
                               ksba_name_t *r_issuer,
-                              unsigned int *r_reason)
+                              ksba_crl_reason_t *r_reason)
 {
   gpg_error_t err;
   const char *oid;