Skip to content

Commit 523f308

Browse files
committed
Handle different security outputs for windows vs lonux
1 parent 7183d14 commit 523f308

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ext/snmp/tests/snmp-object-setSecurity_error.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ bool(false)
7272

7373
Warning: SNMP::setSecurity(): Error generating a key for authentication pass phrase 'te': Generic error (The supplied password length is too short.) in %s on line %d
7474
bool(false)
75-
Security protocol must be one of "AES256", "AES256C", "AES192", "AES192C", "AES128", "AES", or "DES"
76-
Security protocol must be one of "AES256", "AES256C", "AES192", "AES192C", "AES128", "AES", or "DES"
75+
Security protocol must be one of %s
76+
Security protocol must be one of %s
7777

7878
Warning: SNMP::setSecurity(): Error generating a key for privacy pass phrase '': Generic error (The supplied password length is too short.) in %s on line %d
7979
bool(false)

ext/snmp/tests/snmp3-error.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ try {
5959
?>
6060
--EXPECTF--
6161
Checking error handling
62-
Security level must be one of "noAuthNoPriv", "authNoPriv", or "authPriv"
62+
Security level must be one of %s
6363
Security level must be one of "noAuthNoPriv", "authNoPriv", or "authPriv"
6464
Authentication protocol must be %s
6565

0 commit comments

Comments
 (0)