remove CIOGSSESSION (get software session); it was added only for testing

This commit is contained in:
Sam Leffler 2002-10-07 18:37:31 +00:00
parent 9383ade4b0
commit b4c408e0fe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104627
2 changed files with 1 additions and 4 deletions

View File

@ -146,7 +146,6 @@ cryptof_ioctl(
switch (cmd) {
case CIOCGSESSION:
case CIOCGSSESSION:
sop = (struct session_op *)data;
switch (sop->cipher) {
case 0:
@ -254,8 +253,7 @@ cryptof_ioctl(
}
}
error = crypto_newsession(&sid, (txform ? &crie : &cria),
(cmd == CIOCGSESSION ? 1 : -1));
error = crypto_newsession(&sid, (txform ? &crie : &cria), 1);
if (error)
goto bail;

View File

@ -172,7 +172,6 @@ struct crypt_kop {
#define CIOCFSESSION _IOW('c', 102, u_int32_t)
#define CIOCCRYPT _IOWR('c', 103, struct crypt_op)
#define CIOCKEY _IOWR('c', 104, struct crypt_kop)
#define CIOCGSSESSION _IOWR('c', 105, struct session_op)
#define CIOCASYMFEAT _IOR('c', 105, u_int32_t)