heimdal: make a function non static so that it can be used in samba
authorMatthieu Patou <mat@matws.net>
Sat, 2 Oct 2010 21:21:57 +0000 (01:21 +0400)
committerMatthieu Patou <mat@matws.net>
Fri, 8 Oct 2010 20:03:13 +0000 (00:03 +0400)
source4/heimdal/lib/hx509/crypto.c
source4/heimdal/lib/hx509/hx509.h
source4/heimdal/lib/hx509/hx_locl.h

index de7717af0297debc1ed350136004389c1f1c8c15..fa7b15aaa49833de120253571dafdbd0f2297167 100644 (file)
@@ -1479,7 +1479,7 @@ static struct hx509_private_key_ops *private_algs[] = {
     NULL
 };
 
-static hx509_private_key_ops *
+hx509_private_key_ops*
 find_private_alg(const heim_oid *oid)
 {
     int i;
index b6eeac9d18a2f33de8ea3417ef4e54f3bafd76d7..72cbf813631f1d3be78a67cac25dd5158c36573d 100644 (file)
@@ -48,6 +48,7 @@ typedef struct hx509_crypto_data *hx509_crypto;
 typedef struct hx509_lock_data *hx509_lock;
 typedef struct hx509_name_data *hx509_name;
 typedef struct hx509_private_key *hx509_private_key;
+typedef struct hx509_private_key_ops hx509_private_key_ops;
 typedef struct hx509_validate_ctx_data *hx509_validate_ctx;
 typedef struct hx509_verify_ctx_data *hx509_verify_ctx;
 typedef struct hx509_revoke_ctx_data *hx509_revoke_ctx;
index 3e3ab23c6df04f8541a4c8cfd220e77a59af1308..a0a5235c75864ce4e27209378293d0ed5a396b26 100644 (file)
@@ -82,7 +82,6 @@ typedef struct hx509_path hx509_path;
 
 typedef void (*_hx509_cert_release_func)(struct hx509_cert_data *, void *);
 
-typedef struct hx509_private_key_ops hx509_private_key_ops;
 
 #include "sel.h"