summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guile/modules/gnutls/build/enums.scm2
-rw-r--r--guile/modules/gnutls/build/smobs.scm4
2 files changed, 3 insertions, 3 deletions
diff --git a/guile/modules/gnutls/build/enums.scm b/guile/modules/gnutls/build/enums.scm
index da143e5390..db72c4f377 100644
--- a/guile/modules/gnutls/build/enums.scm
+++ b/guile/modules/gnutls/build/enums.scm
@@ -566,7 +566,7 @@ unimplemented-feature)
(define %openpgp-key-format-enum
- (make-enum-type 'openpgp-key-format "gnutls_openpgp_key_fmt"
+ (make-enum-type 'openpgp-key-format "gnutls_openpgp_crt_fmt"
'(raw base64)
#f
"GNUTLS_OPENPGP_FMT_"))
diff --git a/guile/modules/gnutls/build/smobs.scm b/guile/modules/gnutls/build/smobs.scm
index a21cb583f0..d2dba3e3a2 100644
--- a/guile/modules/gnutls/build/smobs.scm
+++ b/guile/modules/gnutls/build/smobs.scm
@@ -202,8 +202,8 @@
"gnutls_x509_privkey_deinit"))
(define %openpgp-public-key-smob
- (make-smob-type "gnutls_openpgp_key_t" 'openpgp-public-key
- "gnutls_openpgp_key_deinit"))
+ (make-smob-type "gnutls_openpgp_crt_t" 'openpgp-public-key
+ "gnutls_openpgp_crt_deinit"))
(define %openpgp-private-key-smob
(make-smob-type "gnutls_openpgp_privkey_t" 'openpgp-private-key