From 4e37989b398a15cceec70e5c62006adff9ad5617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 21 Apr 2006 11:25:20 +0000 Subject: [PATCH] Remove unused function. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17121 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/cert.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/lib/hx509/cert.c b/lib/hx509/cert.c index c81666280..ad6053b2f 100644 --- a/lib/hx509/cert.c +++ b/lib/hx509/cert.c @@ -205,23 +205,6 @@ hx509_cert_init(hx509_context context, const Certificate *c, hx509_cert *cert) return ret; } -int -_hx509_cert_assign_private_key_file(hx509_cert cert, - hx509_lock lock, - const char *fn) -{ - int ret; - if (cert->private_key == NULL) { - ret = _hx509_new_private_key(&cert->private_key); - if (ret) - return ret; - } - ret = _hx509_private_key_assign_key_file(cert->private_key, lock, fn); - if (ret) - _hx509_free_private_key(&cert->private_key); - return ret; -} - /* Doesn't make a copy of `private_key'. */ int