commit | 9439f93ea44f71539c2bf3c0e08732ff92fdab43 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri Nov 21 09:49:43 2014 +0100 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Nov 27 17:44:46 2014 +0100 |
tree | f520465b3a2ecf27e34635d55f6d6b8fc35a3442 | |
parent | 2457fa09157a65a915cc6b4a99926fa30a3a52d0 [diff] [blame] |
Use pk_load_file() in X509 Saves a bit of ROM. X509 depends on PK anyway.
diff --git a/library/x509_csr.c b/library/x509_csr.c index 0b4f771..5831121 100644 --- a/library/x509_csr.c +++ b/library/x509_csr.c
@@ -310,7 +310,7 @@ size_t n; unsigned char *buf; - if( ( ret = x509_load_file( path, &buf, &n ) ) != 0 ) + if( ( ret = pk_load_file( path, &buf, &n ) ) != 0 ) return( ret ); ret = x509_csr_parse( csr, buf, n );