diff options
author | Rob Austein <sra@hactrn.net> | 2006-09-15 03:10:37 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2006-09-15 03:10:37 +0000 |
commit | f46eeb4f581d8f24a7d2b728a878d549a55942b2 (patch) | |
tree | 3acd195bc042726a6195b20a582d47ef5f434c08 | |
parent | 495bb1e3eeed5979332a679ded485000736b4ed7 (diff) |
v3_addr_extract()
svn path=/openssl/README; revision=272
-rw-r--r-- | openssl/README | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openssl/README b/openssl/README index 71d6de18..cb4c2e02 100644 --- a/openssl/README +++ b/openssl/README @@ -436,6 +436,16 @@ Final code cleanups before submitting patch to OpenSSL project. category, but I haven't figured out any saner way to deal with the fancy ASN.1 encoding. Callers really should not have to understand the RFC 3779 mappings between IP addresses and ASN.1 bitstrings. + Perhaps all of this can be collapsed into a single function like: + + int v3_addr_extract(IPAddrBlocks *, + IPAddressFamily *, + IPAddressOrRange *, + unsigned char *min, + unsigned char *max, + unsigned length); /* length of min and max */ + + which returns zero on error, else returned length of min and max. - Need patch against OpenSSL HEAD as well as 0.9.8 branch. Figure out how to do that, or ask Ben for help. |