13 Commits

Author SHA1 Message Date
Markus Friedl
371a869f0a unittests: sshbuf_ptr not returns const 2012-10-10 15:49:54 +02:00
Damien Miller
60cb7a627f new functions for read-only buffers with external storage
This adds some new functions: sshbuf_from(), sshbuf_fromb() and sshbuf_froms()
that create new buffers from a read-only blob, the contents of a buffer and
the contents of a string in a buffer respectively. In all cases the memory
contents are not copied - the new buffer, which is read-only, just refers to
the original location in memory.
2012-10-09 23:22:53 +02:00
Damien Miller
d403adfa35 fuzz certificate parsing 2012-03-20 15:09:18 +01:00
Damien Miller
3f5b354ed7 test certificate loading 2012-03-20 15:09:18 +01:00
Damien Miller
3a5cb4965b correct test names: s/RSA/RSA1 for a few 2012-03-20 15:09:18 +01:00
Damien Miller
bdf8ba65b2 memory leaks in fingerprint tests 2012-03-07 00:26:53 +01:00
Damien Miller
d19d229054 flesh out sshkey tests substantially
use new fuzz framework to fuzz private and pubkey parsing

test loading of RSA1 keys
2012-03-04 21:19:23 +01:00
Damien Miller
38fe458892 hook in all the tests 2012-03-04 21:19:22 +01:00
Damien Miller
9b0034eeaf fix parameter extraction 2012-03-04 21:19:22 +01:00
Damien Miller
222ddc9e44 basic unittests for authfile.c pub/private key loading 2012-03-04 21:19:22 +01:00
Damien Miller
22200296fd add simple way to locate test data in test_helper 2012-01-17 14:43:51 +01:00
Damien Miller
eab08a3d52 add fingerprints to test data 2012-01-17 14:32:49 +01:00
Damien Miller
0a106ab1a1 start regress tests for sshkey code 2012-01-17 14:32:49 +01:00