aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils/identification.c
Commit message (Collapse)AuthorAgeFilesLines
* identification: Only use either , or / to separate RDNsTobias Brunner2014-06-181-3/+13
| | | | | If a DN starts with a slash (or whitespace and a slash) slashes will be used, otherwise commas.
* windows: Add a common Windows header for platform specific wrappersMartin Willi2014-06-031-4/+1
| | | | | Include some more basic system headers in utils.h, so we can use that common header on the different platforms.
* identification: Fix printing of empty RDNs on FreeBSDTobias Brunner2014-02-121-1/+6
| | | | On FreeBSD (null) is printed for NULL even if the precision is 0.
* identification: Properly check length before comparing for binary DN equalityMartin Willi2013-10-311-1/+1
| | | | Fixes CVE-2013-6075.
* identification: parse identities having a "@@" prefix as ID_RFC822_ADDRMartin Willi2013-07-181-11/+10
| | | | Original patch by Gerald Richter.
* Fail DN parsing if OID is unterminatedTobias Brunner2013-06-111-2/+6
| | | | | This is the case if the last OID is not followed by a = or if the string starts with a =.
* Fix DN printing if last RDN has an empty valueTobias Brunner2013-06-111-11/+32
|
* Fix DN parsing if last RDN has an empty valueTobias Brunner2013-06-111-1/+1
|
* Fix output of ASN.1 GNTobias Brunner2013-06-111-1/+1
|
* Use chunk_from_str in identification_from_stringTobias Brunner2013-06-111-17/+5
| | | | | We always have a non-empty string in those cases as "" is now handled as ID_ANY.
* Parse empty string as ID_ANYTobias Brunner2013-06-111-2/+3
|
* make TNC Access Requestor ID available to IMVsAndreas Steffen2013-03-031-9/+15
|
* Make sure first argument is an int when using %.*s to print e.g. chunksTobias Brunner2012-09-281-5/+5
|
* Pass opaque data to printf hooks and print_in_hook()Martin Willi2012-07-131-5/+5
|
* Properly handle empty RDN values in DN strings.Tobias Brunner2012-06-071-3/+11
|
* Add support for dnQualifier in DNs.Tobias Brunner2012-03-291-0/+2
|
* support unstructuredAddress in left|rightidAndreas Steffen2011-04-181-26/+28
|
* Do not print empty DN identities as invalidMartin Willi2011-01-051-2/+8
|
* Do not strdup() zero length strings in identification_create_from_string()Martin Willi2010-08-311-4/+20
|
* Fix use of snprintf() in identification DN to ASCII conversionMartin Willi2010-07-281-0/+12
|
* Use the group constraint in a more generic fashion, not only for attribute ↵Martin Willi2010-07-051-3/+1
| | | | certificates
* Renamed clone function to avoid name clash with uclibcMartin Willi2010-04-071-2/+2
|
* Migrated identification_t to INIT/METHOD macrosMartin Willi2009-12-211-128/+95
|
* Added identification constructor using a chunk of data, guessing id typeMartin Willi2009-11-121-0/+12
|
* display printable characters in dntoa()Andreas Steffen2009-11-041-9/+4
|
* moved attribute_manager to libstrongswanAndreas Steffen2009-10-131-0/+1
|
* created identification_create_from_sockaddr() functionAndreas Steffen2009-10-091-0/+33
|
* removed trailing spaces ([[:space:]]+$)Martin Willi2009-09-041-46/+46
|
* removed obsolete fingerprint identification typesMartin Willi2009-08-261-12/+7
|
* pruned OID treeAndreas Steffen2009-08-181-5/+4
|
* fixed wrong emailAddress OID introduced by revision c31687daAndreas Steffen2009-08-181-3/+3
|
* parse RDNs in multiple SEQUENCEs in all SETs of a DNMartin Willi2009-08-031-16/+24
|
* Corrected check for valid ASN1 types in rdn_enumerate.Tobias Brunner2009-07-141-2/+3
| | | | Because of the range of u_char the comparison was always TRUE before.
* double free caused strange side effectsAndreas Steffen2009-07-131-1/+0
|
* great, I got my comma backAndreas Steffen2009-07-121-1/+1
|
* added missing equals() method assignment for ID_ANY identitiesMartin Willi2009-07-071-1/+2
|
* centralized ID type specific method assignement in generic constructorMartin Willi2009-07-061-105/+69
|
* removed obsolete init_rdn()/get_next_rdn() functionsMartin Willi2009-07-061-124/+0
|
* reimplemented dnota() using RDN enumeratorMartin Willi2009-07-061-72/+44
|
* replaced {same,match}_dn() by compare_dn(), using the RDN enumeratorMartin Willi2009-07-061-156/+93
|
* fixed memleak if RND parsing failsMartin Willi2009-07-061-0/+1
|
* contains_wildcard() for DNs uses RDN enumeratorMartin Willi2009-07-061-19/+11
|
* simplified identification_t.clone() using memcpyMartin Willi2009-07-061-7/+2
|
* use an enumerator to parse RDNs, based on asn1_unwrap() functionMartin Willi2009-07-061-119/+145
|
* removing svn keyword $Id$ from all filesTobias Brunner2009-04-301-2/+0
|
* asn1_build_known_oid() includes ASN1_OID tag and lengthAndreas Steffen2009-04-161-2/+2
|
* added create_part_enumerator() to indentity, allows to enumerate RDNs etc.Martin Willi2009-04-141-1/+120
|
* moved RDN OIDs to oid.txt, use asn1_get_known_oid() for lookupMartin Willi2009-04-141-129/+75
|
* merged multi-auth branch back into trunkMartin Willi2009-04-141-35/+34
|
* implementation of contains_wildcards() for ID_DER_ASN1_DN identitiesMartin Willi2009-03-261-2/+32
|