aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct_gen.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-07-05 16:06:38 +0200
committerLukas Larsson <[email protected]>2011-08-01 16:38:19 +0200
commit02678feab82e52f8f1172eddba6560e880f68969 (patch)
tree4fcf620816b0a171b0d283ee022a90b4c44a780e /lib/asn1/src/asn1ct_gen.erl
parent7c6dbd15b5ce56459606cb1bb6aa719ba9ce4f3c (diff)
downloadotp-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.erl2
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.