[tls] Use our own ASN.1 routines for certificate parsing
Use our own, more robust, ASN.1 parsing routines to extract the RSA public key from a server certificate. Remove the now-unused AXTLS ASN.1 parser.
This commit is contained in:
@@ -21,12 +21,12 @@
|
||||
*/
|
||||
struct asn1_cursor {
|
||||
/** Start of data */
|
||||
uint8_t *data;
|
||||
void *data;
|
||||
/** Length of data */
|
||||
size_t len;
|
||||
};
|
||||
|
||||
extern int asn1_enter_object ( struct asn1_cursor *cursor, unsigned int type );
|
||||
extern int asn1_skip_object ( struct asn1_cursor *cursor, unsigned int type );
|
||||
extern int asn1_enter ( struct asn1_cursor *cursor, unsigned int type );
|
||||
extern int asn1_skip ( struct asn1_cursor *cursor, unsigned int type );
|
||||
|
||||
#endif /* _GPXE_ASN1_H */
|
||||
|
||||
Reference in New Issue
Block a user