diff options
author | Lukas Larsson <[email protected]> | 2011-07-05 16:06:38 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-08-01 16:38:19 +0200 |
commit | 02678feab82e52f8f1172eddba6560e880f68969 (patch) | |
tree | 4fcf620816b0a171b0d283ee022a90b4c44a780e /lib/asn1/src/asn1ct_gen.erl | |
parent | 7c6dbd15b5ce56459606cb1bb6aa719ba9ce4f3c (diff) | |
download | otp-02678feab82e52f8f1172eddba6560e880f68969.tar.gz otp-02678feab82e52f8f1172eddba6560e880f68969.tar.bz2 otp-02678feab82e52f8f1172eddba6560e880f68969.zip |
Remove driver support for ber decoding
Handle the new error messages from the asn1 nifs
Make ber nif decoding use the erlang fallback if the nif could not be loaded. This is useful for application which use inline (such as public_key) and want to work without the nifs, but should use them if they exist
Diffstat (limited to 'lib/asn1/src/asn1ct_gen.erl')
-rw-r--r-- | lib/asn1/src/asn1ct_gen.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asn1/src/asn1ct_gen.erl b/lib/asn1/src/asn1ct_gen.erl index 74faade1cf..aa2c3e52db 100644 --- a/lib/asn1/src/asn1ct_gen.erl +++ b/lib/asn1/src/asn1ct_gen.erl @@ -1181,7 +1181,7 @@ gen_partial_inc_dispatcher([],_) -> driver_parameter() -> Options = get(encoding_options), case {lists:member(driver,Options),lists:member(nif,Options)} of - {true,_} -> ",driver"; + {true,_} -> ",nif"; {_,true} -> ",nif"; _ -> "" end. |