Factor common code for printing sig_alg
diff --git a/include/polarssl/x509.h b/include/polarssl/x509.h
index 22ba156..6e8641f 100644
--- a/include/polarssl/x509.h
+++ b/include/polarssl/x509.h
@@ -271,6 +271,8 @@
int x509_get_ext( unsigned char **p, const unsigned char *end,
x509_buf *ext, int tag );
int x509_load_file( const char *path, unsigned char **buf, size_t *n );
+int x509_sig_alg_gets( char *buf, size_t size, const x509_buf *sig_oid,
+ pk_type_t pk_alg, const x509_buf *sig_params );
int x509_key_size_helper( char *buf, size_t size, const char *name );
int x509_string_to_names( asn1_named_data **head, const char *name );
int x509_set_extension( asn1_named_data **head, const char *oid, size_t oid_len, int critical, const unsigned char *val, size_t val_len );