]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
compile missing file
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 27 Jan 2014 13:18:30 +0000 (14:18 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 27 Jan 2014 13:18:30 +0000 (14:18 +0100)
lib/Makefile.am
lib/abstract_int.h
lib/gnutls_privkey.c
lib/gnutls_privkey_raw.c

index 0f06652804dda14a3e28eed41080a820203bb8af..2d70ede73f9636cbdc7e1e9475fb9bcaa1085d53 100644 (file)
@@ -75,7 +75,7 @@ COBJECTS = gnutls_range.c gnutls_record.c \
        gnutls_global.c gnutls_constate.c gnutls_anon_cred.c            \
        pkix_asn1_tab.c gnutls_asn1_tab.c                               \
        gnutls_mem.c gnutls_ui.c vasprintf.c vasprintf.h                \
-       gnutls_sig.c gnutls_ecc.c gnutls_alert.c        \
+       gnutls_sig.c gnutls_ecc.c gnutls_alert.c gnutls_privkey_raw.c   \
        system.c gnutls_str.c gnutls_state.c gnutls_x509.c              \
        gnutls_rsa_export.c gnutls_helper.c gnutls_supplemental.c       \
        random.c crypto-api.c gnutls_privkey.c gnutls_pcert.c           \
index e6524bc2eab5ab8057ffcfd66600544780919523..780ad016b3ad710912cbab95b3f732d177424ecb 100644 (file)
@@ -108,4 +108,7 @@ const mac_entry_st *_gnutls_dsa_q_to_hash(gnutls_pk_algorithm_t algo,
                                          const gnutls_pk_params_st *
                                          params, unsigned int *hash_len);
 
+int
+_gnutls_privkey_get_mpis(gnutls_privkey_t key, gnutls_pk_params_st * params);
+
 #endif
index 7dab15037c8c70159c463c0d079c8b33c3596ef5..3853db2121b6f9929cd09521b7fe994a0738835e 100644 (file)
@@ -162,7 +162,7 @@ privkey_to_pubkey(gnutls_pk_algorithm_t pk,
 
 /* Returns the public key of the private key (if possible)
  */
-static int
+int
 _gnutls_privkey_get_mpis(gnutls_privkey_t key, gnutls_pk_params_st * params)
 {
        int ret;
index 62816caa28f5133b81a942b9d168c1cc0ac62501..0d001a0bd138e573040ccbe34621de806c634073 100644 (file)
@@ -224,7 +224,7 @@ gnutls_x509_privkey_t xkey;
        return 0;
 
 error:
-       gnutls_x509_privkey_deinit(&xkey);
+       gnutls_x509_privkey_deinit(xkey);
        return ret;
 }
 
@@ -274,7 +274,7 @@ gnutls_x509_privkey_t xkey;
        return 0;
 
 error:
-       gnutls_x509_privkey_deinit(&xkey);
+       gnutls_x509_privkey_deinit(xkey);
        return ret;
 }
 
@@ -324,7 +324,7 @@ gnutls_x509_privkey_t xkey;
        return 0;
 
 error:
-       gnutls_x509_privkey_deinit(&xkey);
+       gnutls_x509_privkey_deinit(xkey);
        return ret;
 }