summaryrefslogtreecommitdiff
path: root/lib/gnutls_int_compat.c
blob: 37a44adbdac3c0361fa94a9780fe0835245b3773 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "gnutls.h"

/* This file contains functions needed only for binary compatibility
 * with previous versions.
 */
/* #define GNUTLS_BACKWARDS_COMPATIBLE */


#ifdef GNUTLS_BACKWARDS_COMPATIBLE

int gnutls_x509_extract_subject_alt_name( const gnutls_datum *
	cert, int seq, char* ret, int *ret_size) {
	
	return gnutls_x509_extract_certificate_subject_alt_name( cert, seq, ret, ret_size);
}

/* nothing here */

#endif /* GNUTLS_BACKWARDS_COMPATIBLE */