summaryrefslogtreecommitdiff
path: root/cipher.h
diff options
context:
space:
mode:
Diffstat (limited to 'cipher.h')
-rw-r--r--cipher.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cipher.h b/cipher.h
index 94c0ceee5..ee0e312fb 100644
--- a/cipher.h
+++ b/cipher.h
@@ -11,7 +11,7 @@
11 * 11 *
12 */ 12 */
13 13
14/* RCSID("$Id: cipher.h,v 1.8 2000/04/06 02:32:39 damien Exp $"); */ 14/* RCSID("$Id: cipher.h,v 1.9 2000/04/12 10:17:39 damien Exp $"); */
15 15
16#ifndef CIPHER_H 16#ifndef CIPHER_H
17#define CIPHER_H 17#define CIPHER_H
@@ -88,6 +88,9 @@ const char *cipher_name(int cipher);
88 */ 88 */
89int cipher_number(const char *name); 89int cipher_number(const char *name);
90 90
91/* returns 1 if all ciphers are supported (ssh2 only) */
92int ciphers_valid(const char *names);
93
91/* 94/*
92 * Selects the cipher to use and sets the key. If for_encryption is true, 95 * Selects the cipher to use and sets the key. If for_encryption is true,
93 * the key is setup for encryption; otherwise it is setup for decryption. 96 * the key is setup for encryption; otherwise it is setup for decryption.