diff options
author | Damien Miller <djm@mindrot.org> | 2004-01-21 11:02:50 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2004-01-21 11:02:50 +1100 |
commit | fb1310eded0788f106dc7e1f113cc75e1206cb60 (patch) | |
tree | cca2dacd20182354f8b704f62ab03a16a27a9e8f /ssh-keysign.c | |
parent | a04ad496f65ba1c0b6c71c13943ede2711464bc3 (diff) |
- markus@cvs.openbsd.org 2004/01/19 21:25:15
[auth2-hostbased.c auth2-pubkey.c serverloop.c ssh-keysign.c sshconnect2.c]
fix mem leaks; some fixes from Pete Flugstad; tested dtucker@
Diffstat (limited to 'ssh-keysign.c')
-rw-r--r-- | ssh-keysign.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ssh-keysign.c b/ssh-keysign.c index b3db628c6..9e9ebe2f1 100644 --- a/ssh-keysign.c +++ b/ssh-keysign.c | |||
@@ -22,7 +22,7 @@ | |||
22 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 22 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
23 | */ | 23 | */ |
24 | #include "includes.h" | 24 | #include "includes.h" |
25 | RCSID("$OpenBSD: ssh-keysign.c,v 1.14 2003/11/17 09:45:39 djm Exp $"); | 25 | RCSID("$OpenBSD: ssh-keysign.c,v 1.15 2004/01/19 21:25:15 markus Exp $"); |
26 | 26 | ||
27 | #include <openssl/evp.h> | 27 | #include <openssl/evp.h> |
28 | #include <openssl/rand.h> | 28 | #include <openssl/rand.h> |
@@ -126,6 +126,7 @@ valid_request(struct passwd *pw, char *host, Key **ret, u_char *data, | |||
126 | /* end of message */ | 126 | /* end of message */ |
127 | if (buffer_len(&b) != 0) | 127 | if (buffer_len(&b) != 0) |
128 | fail++; | 128 | fail++; |
129 | buffer_free(&b); | ||
129 | 130 | ||
130 | debug3("valid_request: fail %d", fail); | 131 | debug3("valid_request: fail %d", fail); |
131 | 132 | ||