Skip to content

Commit

Permalink
Restore ABI compatibility with 10.0-RELEASE, so that stable/10 users …
Browse files Browse the repository at this point in the history
…can use

official freebsd packages
  • Loading branch information
ant1 committed Oct 19, 2014
1 parent 84b9f62 commit 3da9130
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions ObsoleteFiles.inc
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ OLD_FILES+=usr/share/openssl/man/man3/CMS_sign_add1_signer.3.gz
# 20140917: hv_kvpd rc.d script removed in favor of devd configuration
OLD_FILES+=etc/rc.d/hv_kvpd
# 20140814: libopie version bump
OLD_LIBS+=usr/lib/libopie.so.7
OLD_LIBS+=usr/lib32/libopie.so.7
OLD_LIBS+=usr/lib/libopie.so.8
OLD_LIBS+=usr/lib32/libopie.so.8
# 20140811: otp-sha renamed to otp-sha1
OLD_FILES+=usr/bin/otp-sha
OLD_FILES+=usr/share/man/man1/otp-sha.1.gz
Expand Down
8 changes: 4 additions & 4 deletions contrib/opie/opie.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ struct opie {
/* Maximum length of a seed */
#define OPIE_SEED_MAX 16

/* Max length of hash algorithm name (md4/md5/sha1) */
#define OPIE_HASHNAME_MAX 4
/* Max length of hash algorithm name (md4/md5) */
#define OPIE_HASHNAME_MAX 3

/* Maximum length of a challenge (otp-md? 9999 seed ext) */
#define OPIE_CHALLENGE_MAX (4+OPIE_HASHNAME_MAX+1+4+1+OPIE_SEED_MAX+1+3)
/* Maximum length of a challenge (otp-md? 9999 seed) */
#define OPIE_CHALLENGE_MAX (4+OPIE_HASHNAME_MAX+1+4+1+OPIE_SEED_MAX)

/* Maximum length of a response that we allow */
#define OPIE_RESPONSE_MAX (9+1+19+1+9+OPIE_SEED_MAX+1+19+1+19+1+19)
Expand Down
2 changes: 1 addition & 1 deletion lib/libopie/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
OPIE_DIST?= ${.CURDIR}/../../contrib/opie
DIST_DIR= ${OPIE_DIST}/${.CURDIR:T}
SHLIB_MAJOR= 8
SHLIB_MAJOR= 7

KEYFILE?= \"/etc/opiekeys\"

Expand Down

0 comments on commit 3da9130

Please sign in to comment.